import simpleDialog from './dialog/simple-dialog'
import editorLayout from './page/editor-layout'
import sysLayout from './page/sys-layout'
import sysQuery from './page/sys-query'
import sysPage from './page/sys-page'
import sysCtrl from './page/sys-ctrl'
import formDetail from './form-detail'
import tagStatus from './tag-status'
import tagSex from './tag-sex'
import cardFormat from './card-format'
import sysEllipsis from './sys-ellipsis'
import lottie from './lottie'
import reportSelect from './report/report-select'
import reportStatus from './report/report-status'
import sysSelect from './sys-select'


const components = {
  simpleDialog,
  editorLayout,
  sysLayout,
  sysQuery,
  sysPage,
  sysCtrl,
  sysEllipsis,
  formDetail,
  tagStatus,
  tagSex,
  cardFormat,
  lottie,
  reportSelect,
  reportStatus,
  sysSelect
}

const install = (Vue) => {
  Object.keys(components).forEach(key => {
    Vue.component(key, components[key])
  })
}

export default install
